package dn.easy.common.bean;

import java.util.List;

public class NoticeEntity {


    /**
     * pages : {"totalRow":4330,"pageNumber":1,"lastPage":false,"firstPage":true,"totalPage":433,"pageSize":10,"list":[{"flag":0,"data":{"gpsFlag ":1,"gpsStar ":3,"orient ":24439,"latitude ":43819449,"accuracy ":3000,"trigger":1,"battery":100,"deviceid":"c7a390fb-5364-4419-95dd-9cb78565f411","steps":1305,"speed":46,"gpsSnr":30,"createTime":"2018-10-14 10:21:39","time":"1970-01-19 03:34:28","id":13892,"signal":78,"account ":15800185856," longitude ":125253224},"createTime":"2018-10-14 10:21:39","externalId":null,"id":4441,"type":3,"title":"618已进入危险区域","message":"618于2018-10-14 10:21:39进入了危险区域\"危险\"","userid":6}]}
     * status : 1
     */
    private PagesBean pages;
    private int status;

    public PagesBean getPages() {
        return pages;
    }

    public void setPages(PagesBean pages) {
        this.pages = pages;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public class PagesBean {
        private int totalRow;
        private int pageNumber;
        private boolean lastPage;
        private boolean firstPage;
        private int totalPage;
        private int pageSize;
        private List<ListBean> list;

        public int getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(int totalRow) {
            this.totalRow = totalRow;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public boolean isLastPage() {
            return lastPage;
        }

        public void setLastPage(boolean lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isFirstPage() {
            return firstPage;
        }

        public void setFirstPage(boolean firstPage) {
            this.firstPage = firstPage;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public class ListBean {
            private int flag;
            private String createTime;
            private String externalId;
            private int id;
            private int type;
            private String title;
            private String message;
            private int userid;
            private String data;

            public String getData() {
                return data;
            }

            public void setData(String data) {
                this.data = data;
            }

            public void setFlag(int flag){
                this.flag = flag;
            }
            public int getFlag(){
                return this.flag;
            }
            public void setCreateTime(String createTime){
                this.createTime = createTime;
            }
            public String getCreateTime(){
                return this.createTime;
            }
            public void setExternalId(String externalId){
                this.externalId = externalId;
            }
            public String getExternalId(){
                return this.externalId;
            }
            public void setId(int id){
                this.id = id;
            }
            public int getId(){
                return this.id;
            }
            public void setType(int type){
                this.type = type;
            }
            public int getType(){
                return this.type;
            }
            public void setTitle(String title){
                this.title = title;
            }
            public String getTitle(){
                return this.title;
            }
            public void setMessage(String message){
                this.message = message;
            }
            public String getMessage(){
                return this.message;
            }
            public void setUserid(int userid){
                this.userid = userid;
            }
            public int getUserid(){
                return this.userid;
            }
        }
    }

}
